package org.jeecg.modules.mall.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.mall.entity.TbMnMaterialOptional;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 淘宝物料
 * @Author: jeecg-boot
 * @Date:   2020-05-12
 * @Version: V1.0
 */
public interface ITbMnMaterialOptionalService extends IService<TbMnMaterialOptional> {

    IPage<TbMnMaterialOptional> getCentreList(Page<TbMnMaterialOptional> page, TbMnMaterialOptional queryWrapper);

    TbMnMaterialOptional queryRecommendMsg(TbMnMaterialOptional optionalDo1);

    IPage<TbMnMaterialOptional> getMaterialOptionalList(Page<TbMnMaterialOptional> page, TbMnMaterialOptional tbMnMaterialOptional);

    IPage<TbMnMaterialOptional> pageChoiceness(Page<TbMnMaterialOptional> page,  TbMnMaterialOptional tbMnMaterialOptional);

    List<TbMnMaterialOptional> getTop100();

    Result<?> deleteTbMnMaterialOptional(String num_iid);

    public Result<?> getNewShareToken(String num_iid, String user_id);
}
